import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import axios from "axios";
// import "../src/store/mock";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';


import AMap from 'vue-amap';
import "../public/iconfont/iconfont.css"

Vue.config.productionTip = false;
Vue.prototype.$axios = axios;
Vue.use(ElementUI),
Vue.use(AMap);


  // 初始化vue-amap
  AMap.initAMapApiLoader({
    // 高德key
    key: '56fdc453ef6079482084c5e4ec4b0db2',
    // 插件集合 （插件按需引入）
    plugin: ['AMap.Geolocation','AMap.LineSearch','AMap.StationSearch']
  });


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
